<template>
  <div class="notice">
    <el-carousel indicator-position="outside">
      <el-carousel-item v-for="item in 4" :key="item">
      </el-carousel-item>
    </el-carousel>
  </div>
  <div class="search">
    <el-input v-model="input" placeholder="科室/专家/关键词" clearable />
  </div>
  <div class="logo">
    <img src="./pic/便民服务.png" alt="">
  </div>
  <div class="serve">
    <div>
      <img src="./pic/bianming/bm1.png" alt="">
      <p>门诊安排</p>
      <span>Outpatient Department</span>
    </div>
    <div>
      <img src="./pic/bianming/bm2.png" alt="">
      <p>预约挂号</p>
      <span>Online Registration</span>
    </div>
    <div>
      <img src="./pic/bianming/bm3.png" alt="">
      <p>预约体检</p>
      <span>physical Examination</span>
    </div>
    <div>
      <img src="./pic/bianming/bm4.png" alt="">
      <p>就医指南</p>
      <span>Medical Guidance</span>
    </div>
    <div>
      <img src="./pic/bianming/bm5.png" alt="">
      <p>检验报告查询</p>
      <span>Report Query</span>
    </div>
  </div>
  <div class="show">
    <div class="new">
      <div class="r_top">
        <span>医院新闻</span>
        <span>更多新闻+</span>
      </div>
      <div class="r-left">
          <ul>
            <li>锐意进取，聚力前行——妇产科举办护理责任组长竞聘会<span>02-23</span></li>
            <li>2022年产科护理组年中总结会顺利举行<span>02-21</span></li>
            <li>虽望千日不战，不可一日无备——医院开展生物安全防护及核酸采样、防护服穿脱专项培训及考核<span>02-13</span></li>
            <li>物资采购中心党支部开展红色教育活动<span>02-01</span></li>
          </ul>
      </div>
      <div class="r-right">
        <el-carousel :interval="4000" type="card" height="200px">
          <el-carousel-item v-for="item in 5" :key="item">
          </el-carousel-item>
        </el-carousel>
      </div>
    </div>
    <div class="bill">
      <div class="topper">
        <p>通知公告</p>
        <p>更多+</p>
      </div>
      <div class="footer">
        <ul>
          <li>
            <div>
              <p>21</p>
              <span>2023-04</span>
            </div>
            <p class="juzi">西南医院2023年住院医师规范化培训招收简章</p>
          </li>
          <li>
            <div>
              <p>30</p>
              <span>2023-03</span>
            </div>
            <p class="juzi">关于举办国家级继续教育项目《麻醉学住院医师规范化培训管</p>
          </li>
          <li>
            <div>
              <p>14</p>
              <span>2023-03</span>
            </div>
            <p class="juzi">陆军军医大学第一附属医院（西南医院）住院医师规范化培训</p>
          </li>
          <li>
            <div>
              <p>26</p>
              <span>2023-02</span>
            </div>
            <p class="juzi">2022年度肿瘤免疫病理学教育部重点实验室开放课题申报通知</p>
          </li>
        </ul>
      </div>
    </div>
  </div>
  
</template>

<script>
export default {
  name: 'Notice',
  data() {
    return {
      input:''
    }
  },
}
</script>

<style lang="less">
.notice {
  margin-top: -10px;
  .el-carousel__item h3 {
    color: #475669;
    opacity: 0.75;
    line-height: 200px;
    margin: 0;
    text-align: center;
  }
  .el-carousel__item h3 {
    display: flex;
    color: #475669;
    opacity: 0.75;
    line-height: 300px;
    margin: 0;
  }
  .el-carousel__item:nth-child(1) {
    background: url(./pic/pg1.jpg) no-repeat;
    background-size: 100% 100%;
  }
  .el-carousel__item:nth-child(2) {
    background: url(./pic/pg2.jpg) no-repeat;
    background-size: 100% 100%;
  }

  .el-carousel__item:nth-child(3) {
    background: url(./pic/pg3.jpg) no-repeat;
    background-size: 100% 100%;
  }
  .el-carousel__item:nth-child(4) {
    background: url(./pic/pg4.jpg) no-repeat;
    background-size: 100% 100%;
  }
  .el-carousel__item:nth-child(5) {
    background: url(./pic/pg1.jpg) no-repeat;
    background-size: 100% 100%;
  }
  .el-carousel__item:nth-child(6) {
    background: url(./pic/pg2.jpg) no-repeat;
    background-size: 100% 100%;
  }
}
.search{
  padding: 20px;
  margin:0 auto;
  width:50%;
  height: 70px;
  background-color: rgb(237, 242, 240);
  line-height: 70px;
  border-radius: 15px;
  border-bottom: 10px solid #056081;
  box-shadow:0 15px 30px rgb(166, 197, 244);
  position: absolute;
  left: 50%;
  margin-left: -25%;
  top: 36%;
}
.search:hover{
  width:60%;
  margin-left: -30%;
  cursor: pointer;
  border-bottom: 10px solid #058162;

  box-shadow:0 15px 30px rgb(184, 247, 229);

}
.logo{
  width: 15.34%;
  height: 26.96%;
  position: absolute;
  left: 50%;
  margin-left: -7.67%;
  top: 63%;
}
.logo:hover{
  cursor: pointer;
}
.serve{
  position: absolute;
  left: 50%;
  margin-left: -50%;
  top: 86%;
  // background: red;
  width: 100%;
  height: 25%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  div{
    padding-top: 5px;
    font: bold 16px/20px "微软雅黑";
    text-align: center;
    color: #fff;
    height: 90%;
    width: 15%;
    border-radius: 20px;
    span{
      font-size: 12px;
      color: #fff;
      display: block;
      text-align: center;
    }
    // background: green;
  }
  div:nth-child(1){
    background: url(./pic/bianming/bm_bg1.png) no-repeat;
  }
  div:nth-child(2){
    background: url(./pic/bianming/bm_bg2.png) no-repeat;
  }
  div:nth-child(3){
    background: url(./pic/bianming/bm_bg3.png) no-repeat;
  }
  div:nth-child(4){
    background: url(./pic/bianming/bm_bg4.png) no-repeat;
  }
  div:nth-child(5){
    background: url(./pic/bianming/bm_bg5.png) no-repeat;
  }
  div:hover{
    margin-top: -15px;
    cursor: pointer;
}
div:hover img{
    margin-top: 10px;
}
}

.show{
  display: flex;
  // background: red;
  position: absolute;
  width: 100%;
  height: 70%;
  left: 50%;
  margin-left: -50%;
  top: 111%;
  .new{
    margin-left: 40px;
    margin-right: 40px;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    .r_top{
      display: flex;
      justify-content: space-between;
      span:nth-child(1){
        font-size: 24px;
        color: #00736d;
        display: inline-block;
        font-weight: 600;
        line-height: 50px;
      }
      span:nth-child(2){
        font-size: 15px;
        color: #2a2a2a;
        line-height: 50px;
      }
    }
  }
  .bill{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    .topper{
      // background-color: #00736d;
      width: 80%;
      margin-top: 7px;
      height: 10%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: #2a2a2a solid;
      p:nth-child(1){
        color: #949494;
        transform: scale(1.5);
        margin-left: 12px;
      }
    }
    .footer{
      li{
        margin-right: 40px;
        margin-top: 10px;
        margin-bottom: 20px;
        display: flex;
        align-content: center;
        padding-bottom: 10px;
        border-bottom: #2a2a2a solid 1px;
        div{
          height: 20%;
          width: 20%;
          text-align: center;
          background-color: #bfbfbf;
          border-radius: 8px;
          padding: 3px;
          p{
            font-family: 'zkqkhyt';
            transform: scale(2);
            color: #fff;
            margin-bottom: 20px;
          }
          span{
            color: #fff;
          }

        }
        p{
          width: 68%;
          margin-left: 10px;
        }
      }
      li:hover{
        cursor: pointer;
      }
      li:hover div{
           background-color: #00736d; 
        }
        li:hover .juzi{
           color: #00736d; 
           font-weight: 550;
        }
    }
  }
  .r-left{
    ul li{
      font-size: 15px;
      color: #505151;
      line-height: 33px;
      white-space: nowrap;
      span{
        float: right;
      }
      }
      li:hover{
        color: #00736d;
        font-weight: 550;
        cursor: pointer;

      }
      li:hover span{
        color: #00736d;
      }
  }
  .r-right{
    .el-carousel__item h3 {
      color: #475669;
      opacity: 0.75;
      line-height: 200px;
      margin: 0;
      text-align: center;
    }

    .el-carousel__item:nth-child(1) {
        background: url(./pic/banner2/p1.jpg) no-repeat;
        background-size: 100% 100%;
    }
    .el-carousel__item:nth-child(2) {
        background: url(./pic/banner2/p2.jpg) no-repeat;
        background-size: 100% 100%;
    }
    .el-carousel__item:nth-child(3) {
        background: url(./pic/banner2/p3.png) no-repeat;
        background-size: 100% 100%;
    }
    .el-carousel__item:nth-child(4) {
        background: url(./pic/banner2/p4.png) no-repeat;
        background-size: 100% 100%;
    }
    .el-carousel__item:nth-child(5) {
        background: url(./pic/banner2/p5.png) no-repeat;
        background-size: 100% 100%;
    }
    .el-carousel__item:nth-child(6) {
        background: url(./pic/banner2/p1.jpg) no-repeat;
        background-size: 100% 100%;
    }
    .el-carousel__item:nth-child(7) {
        background: url(./pic/banner2/p2.jpg) no-repeat;
        background-size: 100% 100%;
    }
  }
}
</style>
